package cn.edu.ncu.java;

import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.image.Image;
import javafx.stage.Stage;

public class login extends Application {
    public void start(Stage primaryStage) throws Exception {
        Parent root = FXMLLoader.load(getClass().getResource("view/login.fxml"));
        primaryStage.setTitle("五子棋联机版");
        primaryStage.setScene(new Scene(root, 400, 400));
        primaryStage.getIcons().add(new Image(getClass().getResourceAsStream("/cn/edu/ncu/java/res/pane.png")));
        primaryStage.show();
    }
    public static void main(String[] args) {
        launch(args);}
}
